﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="TestMenu._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to ASP.NET!
    </h2>
    <p>
        To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">
            www.asp.net</a>.<br />
        <asp:TextBox ID="TextBox1" runat="server" Width="625px" TextMode="MultiLine" Rows="3"></asp:TextBox>
        <br />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </p>
    <br />
    <asp:GridView ID="dgvApprover" runat="server" AutoGenerateColumns="False" CellPadding="4"
        Width="100%" GridLines="Horizontal" Height="67px" PageSize="40" AllowSorting="True"
        BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px"
        Style="text-align: left; margin-right: 46px;" OnRowDataBound="onDgvDatabind">
        <RowStyle BackColor="White" Font-Size="12px" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" Visible="false">
                <ItemStyle Width="10px"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="stt" HeaderText="STT">
                <ItemStyle Width="20px"></ItemStyle>
            </asp:BoundField>
            <asp:TemplateField HeaderText="File toàn văn" ItemStyle-HorizontalAlign="Center"
                ItemStyle-Width="30" Visible="true">
                <ItemTemplate>
                    <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" Text='<%#Eval("Name") %>' CommandArgument='<%#Eval("Id") %>'
                                OnClick="downloadAttach"></asp:LinkButton>
                            <br />
                        </ItemTemplate>
                    </asp:Repeater>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" Font-Size="9px" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" Font-Size="12px" />
        <EditRowStyle Font-Size="9px" />
    </asp:GridView>
    <p>
        You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&amp;clcid=0x409"
            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
    </p>
</asp:Content>
